//
//  RepairModel.m
//  wtshoppingcite
//
//  Created by TW on 15-1-7.
//  Copyright (c) 2015年 TW. All rights reserved.
//

#import "RepairModel.h"

@implementation RepairModel

- (id)initWithRepairList:(NSDictionary *)info{
    
    if(self = [super init]){
        id repairId = [info objectForKey:@"id"];
        self.repairId = ObjToString(repairId);
        
        id repairName = [info objectForKey:@"repairName"];
        self.repairName = ObjToString(repairName);
        
        id createTime = [info objectForKey:@"createTime"];
        self.createTime = ObjToString(createTime);
        
        id state = [info objectForKey:@"state"];
        self.state = ObjToString(state);
        
        id smallImgPath = [info objectForKey:@"smallImgPath"];
        self.smallImgPath = ObjToString(smallImgPath);
        
    }
    return self;
}

@end
